import request from '@/utils/request'


export function postTypeList(query) {
  return request({

    url: '/manager/dict/postType/list',
    method: 'get',
    params: query
  })
}

export function postTypeAdd(query) {
    return request({
      url: '/manager/dict/postType/add',
      method: 'post',
      params: query
    })
  }

  export function postTypeEdit(query) {
    return request({
      url: '/manager/dict/postType/update',
      method: 'post',
      params: query
    })
  }

  export function postTypeDelete(id) {
    return request({
      url: '/manager/dict/postType/delete?typeCode='+ id,
      method: 'delete',
    })
  }

  